package com.vs.meepet.network.base;

import androidx.annotation.Keep;

import java.io.Serializable;

@Keep
public class BaseHttpData<T> implements Serializable {

    private int code = -1;
    private String msg;
    private long serverTime;
    private T data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public long getServerTime() {
        return serverTime;
    }

    public void setServerTime(long serverTime) {
        this.serverTime = serverTime;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
